#ifndef __STM32_UTIL_H__
#define __STM32_UTIL_H__

#include <stdbool.h>
#include <stdio.h>

#define p() printf("%s:%d\r\n", __FILE__, __LINE__)

typedef unsigned char byte;
typedef byte u8;
typedef unsigned short u16;

bool is_digit(char c);
bool is_upper(char c);
bool is_lower(char c);

#endif
